package com.xwyzsn.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.xwyzsn.common.annotation.Excel;
import com.xwyzsn.common.core.domain.BaseEntity;

/**
 * 设备位置对象 device_location
 * 
 * @author ruoyi
 * @date 2024-03-21
 */
public class DeviceLocation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 设备ID */
    @Excel(name = "设备ID")
    private Long deviceId;

    /** 设备名 */
    @Excel(name = "设备名")
    private String deviceName;

    /** 智能ID */
    @Excel(name = "智能ID")
    private Long stallId;

    /** 智能柜名 */
    @Excel(name = "智能柜名")
    private String stallName;

    /** 柜格 */
    @Excel(name = "柜格")
    private Long idx;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(Long deviceId) 
    {
        this.deviceId = deviceId;
    }

    public Long getDeviceId() 
    {
        return deviceId;
    }
    public void setDeviceName(String deviceName) 
    {
        this.deviceName = deviceName;
    }

    public String getDeviceName() 
    {
        return deviceName;
    }
    public void setStallId(Long stallId) 
    {
        this.stallId = stallId;
    }

    public Long getStallId() 
    {
        return stallId;
    }
    public void setStallName(String stallName) 
    {
        this.stallName = stallName;
    }

    public String getStallName() 
    {
        return stallName;
    }
    public void setIdx(Long idx) 
    {
        this.idx = idx;
    }

    public Long getIdx() 
    {
        return idx;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("deviceName", getDeviceName())
            .append("stallId", getStallId())
            .append("stallName", getStallName())
            .append("idx", getIdx())
            .toString();
    }
}
